package com.example.demo.entity;


import lombok.Data;
import lombok.Getter;
import lombok.Setter;

@Data
public class Employee {
    private int id;
    private String name;
    private String sex;
    private String no;
    private int age;
    private String description;
    private int departmentId;

    @Override
    public String toString() {
        return "Employee{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", sex='" + sex + '\'' +
                ", no='" + no + '\'' +
                ", age=" + age +
                ", description='" + description + '\'' +
                ", departmentId=" + departmentId +
                '}';
    }

}
